<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
	<title>学生信息表</title>
	<link rel="stylesheet" href="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/css/bootstrap.css">
    <link rel="stylesheet" href="css/style.css" type="text/css" media="screen">
    <script src="js/jquery-1.7.1.min.js" type="text/javascript"></script>  
</head>
<body>
	<h2 style="text-align: center;">学生信息列表</h2>
	<div class="list">
		<table class="table table-hover">
		    <thead>
		    	<th>编号</th>
				<th>姓名</th>
				<th>年龄</th>
				<th>性别</th>
				<th>添加时间</th>
				<th>修改时间</th>
		    </thead>
		    <tbody>
		    	@foreach ($row as $data)
		    		<tr>
		    			<td>{{$data->id}}</td>
		    			<td>{{$data->name}}</td>
		    			<td>{{$data->age}}</td>
		    			<td>{{$data->sex}}</td>
		    			<td>{{$data->create_time}}</td>
		    			<td>{{$data->update_time}}</td>
		    		</tr>
		    	@endforeach 
		    </tbody>
		</table>
	</div>
	<script src="https://cdn.bootcss.com/jquery/1.12.3/jquery.min.js"></script>
	<script src="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/js/bootstrap.js"></script>
</body>
</html>